package com.pata.display
{
	import flash.display.DisplayObject;

	/**
	 * @data	2011-4-6	
	 * @author	pata
	 */
	public class Scrollbar extends AbstractDisplay implements IDisplay
	{
		
		private var scrollbarSkin:Object;
		private var mThumbSkin:DisplayObject = null;
		private var mTrackSkin:DisplayObject = null;
		private var mPrevSkin:DisplayObject = null;
		private var mNextSkin:DisplayObject = null;
		
		public function set thumbSkin(value:DisplayObject):void
		{
			mThumbSkin = value;
			scrollbarSkin.thumb = mThumbSkin;
		}
		public function set trackSkin(value:DisplayObject):void
		{
			mTrackSkin = value;
			scrollbarSkin.track = mTrackSkin;
		}
		public function set prevBtnSkin(value:DisplayObject):void
		{
			mPrevSkin = value;
			scrollbarSkin.prevBtn = mPrevSkin;
		}
		public function set nextBtnSkin(value:DisplayObject):void
		{
			mNextSkin = value;
			scrollbarSkin.nextBtn = mNextSkin;
		}
		public function Scrollbar()
		{
			super( this );
		}
		override protected function configUI():void
		{
			
		}
	}
}